package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author xiangzuo
 * 标
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel("标实体")
public class Mark implements Serializable {

  @ApiModelProperty(name = "id",value = "id")
  private Long id;
  //借款方id
  @ApiModelProperty(name = "did",value = "借款方id")
  private Long did;
  //联系电话
  @ApiModelProperty(name = "phone",value = "联系电话")
  private String phone;
  //标名
  @ApiModelProperty(name = "name",value = "标名")
  private String name;
  //担保机构
  @ApiModelProperty(name = "organ",value = "担保机构")
  private String organ;
  //标的类型
  @ApiModelProperty(name = "markType",value = "标的类型")
  private Long markType;
  //借款金额
  @ApiModelProperty(name = "money",value = "借款金额")
  private Double money;
  //年利率
  @ApiModelProperty(name = "rate",value = "年利率")
  private Double rate;
  //还款方式
  @ApiModelProperty(name = "mode",value = "还款方式")
  private String mode;
  //标的状态
  @ApiModelProperty(name = "state",value = "state")
  private String state;
  //风险等级
  @ApiModelProperty(name = "riskLevel",value = "riskLevel")
  private String riskLevel;
  //精选
  @ApiModelProperty(name = "choice",value = "choice")
  private Boolean choice;
  //期限类型
  @ApiModelProperty(name = "termType",value = "termType")
  private String termType;
  //借款期限
  @ApiModelProperty(name = "loanTerm",value = "loanTerm")
  private String loanTerm;
  //借款起息方式
  @ApiModelProperty(name = "method",value = "method")
  private Boolean method;
  //借款管理费月率
  @ApiModelProperty(name = "manageRate",value = "manageRate")
  private Double manageRate;
  //利息管理费月率
  @ApiModelProperty(name = "manageProRate",value = "manageProRate")
  private Double manageProRate;
  //逾期罚息利率
  @ApiModelProperty(name = "overdueRate",value = "overdueRate")
  private Double overdueRate;
  //借款类型
  @ApiModelProperty(name = "loanType",value = "loanType")
  private String loanType;
  //资金用途
  @ApiModelProperty(name = "fundsUse",value = "fundsUse")
  private String fundsUse;
  //还款来源
  @ApiModelProperty(name = "repaySpurce",value = "repaySpurce")
  private String repaySpurce;
  //是否担保
  @ApiModelProperty(name = "isGuarantee",value = "isGuarantee")
  private Boolean isGuarantee;
  //担保类型
  @ApiModelProperty(name = "mortgageType",value = "mortgageType")
  private String mortgageType;
  //借款材料材料图片
  @ApiModelProperty(name = "materialImg",value = "materialImg")
  private List<String> materialImg;
  //抵押物图片
  @ApiModelProperty(name = "img",value = "img")
  private List<String> img;
  //标签
  @ApiModelProperty(name = "label",value = "label")
  private String label;
  //最低起投金额
  @ApiModelProperty(name = "lowestMoney",value = "lowestMoney")
  private Double lowestMoney;
  //递增金额
  @ApiModelProperty(name = "incrementalAmount",value = "incrementalAmount")
  private Double incrementalAmount;
  //最大可投金额
  @ApiModelProperty(name = "highestMoney",value = "highestMoney")
  private Double highestMoney;
  //投资计息方式
  @ApiModelProperty(name = "calculationMethod",value = "calculationMethod")
  private String calculationMethod;
  //上架渠道
  @ApiModelProperty(name = "shelfChannel",value = "shelfChannel")
  private String shelfChannel;
  //新手专享
  @ApiModelProperty(name = "newHand",value = "newHand")
  private Boolean newHand;
  //募集时间
  @ApiModelProperty(name = "raisingTime",value = "raisingTime")
  private String raisingTime;
  //上架时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "shelfTime",value = "shelfTime")
  private Timestamp shelfTime;
  //开售时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "saleTime",value = "saleTime")
  private Timestamp saleTime;
  //项目介绍
  @ApiModelProperty(name = "projectIntroduction",value = "projectIntroduction")
  private String projectIntroduction;
  //风险措施
  @ApiModelProperty(name = "riskMeasures",value = "riskMeasures")
  private String riskMeasures;
  //投资进度
  @ApiModelProperty(name = "progress",value = "progress")
  private Double progress;
  //借款管理费
  @ApiModelProperty(name = "manageExpense",value = "manageExpense")
  private Double manageExpense;
  //添加时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "insertTime",value = "insertTime")
  private Timestamp insertTime;
  //结束时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "endTime",value = "endTime")
  private Timestamp endTime;
  //审核时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "checkTime",value = "checkTime")
  private Timestamp checkTime;
  //提交时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "submitTime",value = "submitTime")
  private Timestamp submitTime;
  //初审备注
  @ApiModelProperty(name = "remarks1",value = "remarks1")
  private String remarks1;
  //复审备注
  @ApiModelProperty(name = "remarks2",value = "remarks2")
  private String remarks2;

  //下架备注
  @ApiModelProperty(name = "remarks3",value = "remarks3")
  private String remarks3;

  //已投金额
  @ApiModelProperty(name = "inInvestment",value = "inInvestment")
  private Double inInvestment;

  //复审时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @ApiModelProperty(name = "checkBTime",value = "checkBTime")
  private Timestamp checkBTime;




}

